package com.pro.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName JsMicrocircleImg
 * @Author 谭金诚
 * @Date 2021/11/29
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@ToString
public class JsMicrocircleImg {

  private Integer microcircleImgId;//主键图片表id
  private Integer productId;//商品，视频id，外键
  private String microcircleImgUrl;//图片url路径
  private String microcircleImgName;//图片名称
  private double microcircleImgSize;//图片大小
  private Integer microcircleImgType;//图片类型，1商品，2商品，3微圈
  private String createId;//创建人
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createDate;//创建时间
  private String updateId;//更新人
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateDate;//更新时间

}
